package com.product.server.mapper;

import com.product.server.model.ProductInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ProductMapper {
    @Select("select * from product_detail where id=#{productId};")
    ProductInfo getById(@Param("productId") Integer productId);
}
